<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>第三方页面</title>
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<link href="../../css/mui.min.css" rel="stylesheet"/>
	<style type="text/css">
		#iframe {
			width: 100%; 
			overflow: auto;
		}
	</style>
</head>
<body>
	<!-- 头部TITLE -->
	<header class="mui-bar mui-bar-nav">
		<span class="mui-icon mui-icon-back" 
			onclick="jumpToMy()"></span>
		<h1 class="mui-title">第三方页面</h1>
	</header>
	<!-- 头部TITLE -->
	
	<!-- 主体部分 -->
	<span id="ispan"></span>
	<!-- <iframe id="iframe" src=""></iframe> -->
	<!-- 主体部分 -->
	
	<!-- 底部菜单 -->
	<nav class="mui-bar mui-bar-tab">
		<a class="mui-tab-item" onclick="jumpToIndex()">
			<span class="mui-icon mui-icon-home"></span>
			<span class="mui-tab-label">首页</span>
		</a>
		<a class="mui-tab-item" onclick="jumpToMarket()">
			<span class="mui-icon mui-icon-download"></span>
			<span class="mui-tab-label">库</span>
		</a>
<!-- 		<a class="mui-tab-item" onclick="jumpToMarket()">
			<span class="mui-icon mui-icon-download"></span>
			<span class="mui-tab-label">广场</span>
		</a> -->
<!-- 		<a class="mui-tab-item" onclick="jumpToCamera()">
			<span class="mui-icon mui-icon-camera"></span>
			<span class="mui-tab-label">拍</span>
		</a> -->
<!-- 		<a class="mui-tab-item" onclick="jumpToChat()">
			<span class="mui-icon mui-icon-chatbubble"></span>
			<span class="mui-tab-label">消息</span>
		</a> -->
		<a class="mui-tab-item mui-active" onclick="jumpToMy()">
			<span class="mui-icon mui-icon-contact"></span>
			<span class="mui-tab-label">我的</span>
		</a>
	</nav>
	<!-- 底部菜单 -->
</body>
</html>

<script src="../../js/mui.js"></script>
<script src="../../js/app.js"></script>
<script type="text/javascript">
	mui.plusReady(function () {
		var cw = document.documentElement.clientWidth; //屏幕宽度
		var ch = document.documentElement.clientHeight; //屏幕高度
		ch = ch - 40; //高度减去底部菜单
	    var url = getUrlParam('url');
		<!-- document.getElementById('iframe').src = url; -->
		var h = '';
		h += '<iframe id="iframe" width="'+cw+'" height="'+ch+'" src="'+url+'"></iframe>';
		mui("#ispan")[0].innerHTML = h;
	});
</script>